<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">



function a(){
	function b(){
		this.c =10;
	}
	this.a = new b();
};

alert(new a().a.c)




	//var a = function(){};
	//var b = function(){};



	//alert(a == b);

	/*
	var a = [1,2,3];
	a.b = 20;
	a.c = 30;
	a.d = function(){
		alert(this);
	};
	a.d();
	*/


</script>
</body>
</html>